200 |
How can I align the column to the right
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column") , "Alignment", 2); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); |
199 |
How do I change the column's caption
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column") , "Caption", "new caption"); |
198 |
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectCallMethod(g2antt, "ExecuteTemplate", "FormatAnchor(False) = `<b><u><fgcolor=880000> </fgcolor></u></b>`"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValueFormat(AddItem(`Just an <a1>anchor</a> element ...`),0) = 1"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValueFormat(AddItem(`Just another <a2>anchor</a> element ...`),0) = 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "next item"); |
197 |
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectCallMethod(g2antt, "ExecuteTemplate", "FormatAnchor(True) = `<b><u><fgcolor=FF0000> </fgcolor></u></b>`"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValueFormat(AddItem(`Just an <a1>anchor</a> element ...`),0) = 1"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValueFormat(AddItem(`Just another <a2>anchor</a> element ...`),0) = 1"); |
196 |
Can I change the font for the tooltip
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ToolTipDelay", 1); _ObjectSetProperty( g2antt , "ToolTipWidth", 364); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "tootip") , "ToolTip", "<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>"); |
195 |
Can I change the font for the tooltip
OBJECT g2antt,stdfont; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ToolTipDelay", 1); stdfont = _ObjectGetProperty( g2antt , "ToolTipFont"); _ObjectSetProperty( stdfont , "Name", "Tahoma"); _ObjectSetProperty( stdfont , "Size", 14); _ObjectSetProperty( g2antt , "ToolTipWidth", 364); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "tootip") , "ToolTip", "this is a tooltip assigned to a column"); |
194 |
Can I change the order of the buttons in the scroll bar
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollOrderParts(1) = `t,l,r`"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollOrderParts(0) = `t,l,r`"); _ObjectSetProperty( g2antt , "ScrollBars", 15); |
193 |
The thumb size seems to be very small. Can I make it bigger
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ColumnAutoResize", 0); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C1") , "Width", 256); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C2") , "Width", 256); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C3") , "Width", 256); _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollThumbSize(1) = 64"); |
192 |
How can I display my text on the scroll bar, using a different font
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollPartCaption(1,256) = `This is <s><font Tahoma;12> just </font></s> text`"); _ObjectSetProperty( g2antt , "ColumnAutoResize", 0); _ObjectSetProperty( g2antt , "ScrollHeight", 20); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C1") , "Width", 256); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C2") , "Width", 256); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C3") , "Width", 256); |
191 |
How can I display my text on the scroll bar, using a different font
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollPartCaption(1,256) = `This is just a text`"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollFont(1).Size = 12"); _ObjectSetProperty( g2antt , "ColumnAutoResize", 0); _ObjectSetProperty( g2antt , "ScrollHeight", 20); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C1") , "Width", 256); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C2") , "Width", 256); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C3") , "Width", 256); |
190 |
How can I display my text on the scroll bar
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollPartCaption(1,256) = `this is just a text`"); _ObjectSetProperty( g2antt , "ColumnAutoResize", 0); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C1") , "Width", 256); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C2") , "Width", 256); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C3") , "Width", 256); |
189 |
How do I enlarge or change the size of the control's scrollbars
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ScrollHeight", 18); _ObjectSetProperty( g2antt , "ScrollWidth", 18); _ObjectSetProperty( g2antt , "ScrollButtonWidth", 18); _ObjectSetProperty( g2antt , "ScrollButtonHeight", 18); _ObjectSetProperty( g2antt , "ScrollBars", 15); |
188 |
How do I assign a tooltip to a scrollbar
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollToolTip(1) = `This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar`"); _ObjectSetProperty( g2antt , "ColumnAutoResize", 0); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C1") , "Width", 256); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C2") , "Width", 256); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C3") , "Width", 256); |
187 |
How do I assign an icon to the button in the scrollbar
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( g2antt , "Images", "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollPartVisible(1,32768) = True"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollPartCaption(1,32768) = `<img>1</img>`"); _ObjectSetProperty( g2antt , "ScrollHeight", 18); _ObjectSetProperty( g2antt , "ScrollButtonWidth", 18); _ObjectSetProperty( g2antt , "ScrollBars", 5); |
186 |
I need to add a button in the scroll bar. Is this possible
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollPartVisible(1,32768) = True"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollPartCaption(1,32768) = `1`"); _ObjectSetProperty( g2antt , "ScrollBars", 5); |
185 |
Can I display an additional buttons in the scroll bar
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollPartVisible(1,32768) = True"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollPartVisible(1,16384) = True"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollPartVisible(1,1) = True"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollPartVisible(1,2) = True"); _ObjectSetProperty( g2antt , "ScrollBars", 5); |
184 |
Can I display the picture aligned to the right, while the text aligned to the left
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "DefaultItemHeight", 48); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C1"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) s = _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.SplitCell(AddItem(`Text`),0)"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj,s") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "TemplatePut", s) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellPicture(,s) = Me.ExecuteTemplate(`loadpicture(`c:\exontrol\images\zipdisk.gif`)`)"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellHAlignment(,s) = 2"); |
183 |
How can I display a custom size picture to a cell or item
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "DefaultItemHeight", 48); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C1"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellPicture(AddItem(`Text`),0) = Me.ExecuteTemplate(`loadpicture(`c:\exontrol\images\zipdisk.gif`)`)"); |
182 |
How can I display a multiple pictures to a cell or item
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "DefaultItemHeight", 48); _ObjectCallMethod(g2antt, "ExecuteTemplate", "HTMLPicture(`pic1`) = `c:\exontrol\images\zipdisk.gif`"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "HTMLPicture(`pic2`) = `c:\exontrol\images\auction.gif`"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C1"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValueFormat(AddItem(`<img>pic1</img> Text <img>pic2</img> another text ...`),0) = 1"); |
181 |
How do I change the column's foreground color for numbers between an interval - Range
OBJECT conditionalformat,g2antt,items; g2antt = ObjectByName("AN1") ; conditionalformat = _ObjectCallMethod( _ObjectGetProperty( g2antt , "ConditionalFormats") , "Add", "dbl(%0) >= 2 and dbl(%0) <= 10"); _ObjectSetProperty( conditionalformat , "Bold", -1); _ObjectSetProperty( conditionalformat , "ForeColor", 255); _ObjectSetProperty( conditionalformat , "ApplyTo", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "N1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "N2"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(1),1) = 2"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(3),1) = 3"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(10),1) = 11"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(13),1) = 31"); _ObjectSetProperty( g2antt , "SearchColumnIndex", 1); |
180 |
How do I change the item's foreground color for numbers between an interval - Range
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "ConditionalFormats") , "Add", "dbl(%0) >= 2 and dbl(%0) <= 10") , "ForeColor", 255); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Numbers"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 10); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 20); |
179 |
How do I change the item's background color for numbers less than a value
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "ConditionalFormats") , "Add", "dbl(%0) < 10") , "BackColor", 255); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Numbers"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 10); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 20); |
178 |
How do I underline the numbers greater than a value
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "ConditionalFormats") , "Add", "dbl(%0) >= 10") , "Underline", -1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Numbers"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 10); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 20); |
177 |
How do I highlight in italic the numbers greater than a value
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "ConditionalFormats") , "Add", "dbl(%0) >= 10") , "StrikeOut", -1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Numbers"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 10); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 20); |
176 |
How do I highlight in italic the numbers greater than a value
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "ConditionalFormats") , "Add", "dbl(%0) >= 10") , "Italic", -1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Numbers"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 10); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 20); |
175 |
How do I highlight in bold the numbers greater than a value
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "ConditionalFormats") , "Add", "dbl(%0) >= 10") , "Bold", -1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Numbers"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 10); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 20); |
174 |
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons
|
173 |
Can I use your EBN files to change the visual appearance for radio buttons
|
172 |
Can I use your EBN files to change the visual appearance for checkbox cells
|
171 |
How do I change the visual aspect for thumb parts in the scroll bars, using EBN
OBJECT appearance,g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( g2antt , "BeginUpdate"); appearance = _ObjectGetProperty( g2antt , "VisualAppearance"); _ObjectCallMethod( appearance , "Add", 1,"c:\exontrol\images\normal.ebn"); _ObjectCallMethod( appearance , "Add", 2,"c:\exontrol\images\pushed.ebn"); _ObjectCallMethod( appearance , "Add", 3,"c:\exontrol\images\hot.ebn"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Background(388) = 16777216"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Background(389) = 33554432"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Background(391) = 50331648"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Background(260) = 16777216"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Background(261) = 33554432"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Background(263) = 50331648"); _ObjectSetProperty( g2antt , "ScrollBars", 3855); _ObjectSetProperty( g2antt , "ScrollBySingleLine", -1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Def"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod( items , "AddItem", 1); _ObjectCallMethod( items , "AddItem", 2); _ObjectCallMethod( items , "AddItem", 3); _ObjectCallMethod( g2antt , "EndUpdate"); |
170 |
How do I change the visual aspect only for the thumb in the scroll bar, using EBN
OBJECT appearance,g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( g2antt , "BeginUpdate"); appearance = _ObjectGetProperty( g2antt , "VisualAppearance"); _ObjectCallMethod( appearance , "Add", 1,"c:\exontrol\images\normal.ebn"); _ObjectCallMethod( appearance , "Add", 2,"c:\exontrol\images\pushed.ebn"); _ObjectCallMethod( appearance , "Add", 3,"c:\exontrol\images\hot.ebn"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Background(388) = 16777216"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Background(389) = 33554432"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Background(391) = 50331648"); _ObjectSetProperty( g2antt , "ScrollBars", 3855); _ObjectSetProperty( g2antt , "ScrollBySingleLine", -1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Def"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod( items , "AddItem", 1); _ObjectCallMethod( items , "AddItem", 2); _ObjectCallMethod( items , "AddItem", 3); _ObjectCallMethod( g2antt , "EndUpdate"); |
169 |
I've seen that you can change the visual appearance for the scroll bar. How can I do that
|
168 |
Is there any option to highligth the column from the cursor - point
|
167 |
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology
|
166 |
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN
|
165 |
How do I change the visual aspect of the close button in the filter bar, using EBN
|
164 |
How do I change the visual aspect of buttons in the cell, using EBN
|
163 |
How do I change the visual aspect of the drop down filter button, using EBN
|
162 |
How do I enable resizing the columns at runtime
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ColumnsAllowSizing", -1); _ObjectSetProperty( g2antt , "MarkSearchColumn", 0); _ObjectSetProperty( g2antt , "HeaderVisible", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 2"); _ObjectSetProperty( g2antt , "DrawGridLines", 2); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(`Item 1`),1) = `Sub Item 1`"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(`Item 2`),1) = `Sub Item 2`"); |
161 |
How can I select the second inner column when spliting the cells
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "SelectColumnInner", 1); _ObjectSetProperty( g2antt , "FullRowSelect", 0); _ObjectSetProperty( g2antt , "DrawGridLines", -1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(,SplitCell(AddItem(`Split Cell 1.1`),0)) = `Split Cell 2.1`"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(,SplitCell(AddItem(`Split Cell 1.2`),0)) = `Split Cell 2.2`"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.SelectItem(FirstVisibleItem) = True"); |
160 |
How can I sort by multiple columns
|
159 |
How can I add several columns to control's sort bar
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "SortBarVisible", -1); _ObjectSetProperty( g2antt , "SortBarColumnWidth", 48); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C1") , "SortOrder", 1); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C2") , "SortOrder", 2); |
158 |
How can I change the width of the columns being displayed in the sort bar
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "SortBarVisible", -1); _ObjectSetProperty( g2antt , "SortBarColumnWidth", 48); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C1") , "SortOrder", 1); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "C2") , "SortOrder", 2); |
157 |
How can I change the height of the sort bar's
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "SortBarVisible", -1); _ObjectSetProperty( g2antt , "SortBarHeight", 48); |
156 |
How can I change the sort bar's foreground color
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "SortBarVisible", -1); _ObjectSetProperty( g2antt , "ForeColorSortBar", 255); |
155 |
How can I change the visual appearance of the control's sort bar, using EBN files
|
154 |
How can I change the sort bar's background color
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "SortBarVisible", -1); _ObjectSetProperty( g2antt , "BackColorSortBar", 255); _ObjectSetProperty( g2antt , "BackColorSortBarCaption", 128); |
153 |
How can I change the default caption being displayed in the control's sort bar
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "SortBarVisible", -1); _ObjectSetProperty( g2antt , "SortBarCaption", "new caption"); |
152 |
How can I show the locked / fixed items on the bottom side of the control
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ShowLockedItems", -1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.LockedItemCount(1) = 2"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(LockedItem(1,0),0) = `locked item 1`"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(LockedItem(1,1),0) = `locked item 2`"); _ObjectCallMethod( items , "AddItem", "un-locked item"); |
151 |
How can I show the locked / fixed items
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ShowLockedItems", -1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.LockedItemCount(0) = 2"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(LockedItem(0,0),0) = `locked item 1`"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(LockedItem(0,1),0) = `locked item 2`"); _ObjectCallMethod( items , "AddItem", "un-locked item"); |
150 |
How can I hide the locked / fixed items
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ShowLockedItems", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.LockedItemCount(0) = 1"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(LockedItem(0,0),0) = `locked item`"); _ObjectCallMethod( items , "AddItem", "un-locked item"); |
149 |
How can I show the control's sort bar
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "SortBarVisible", -1); |
148 |
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "PictureLevelHeader", _ObjectCallMethod( g2antt , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\colorize.gif`)")); _ObjectSetProperty( g2antt , "PictureDisplayLevelHeader", 49); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "S") , "Width", 32); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Level 1") , "LevelKey", 1); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Level 2") , "LevelKey", 1); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Level 3") , "LevelKey", 1); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "E1") , "Width", 32); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "E2") , "Width", 32); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "E3") , "Width", 32); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "E4") , "Width", 32); |
147 |
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "PictureLevelHeader", _ObjectCallMethod( g2antt , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\colorize.gif`)")); _ObjectSetProperty( g2antt , "PictureDisplayLevelHeader", 18); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "S") , "Width", 32); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Level 1") , "LevelKey", 1); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Level 2") , "LevelKey", 1); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Level 3") , "LevelKey", 1); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "E") , "Width", 32); |
146 |
How can I display a picture on the control's header, when multiple levels are displayed
|
145 |
How can I change the header's background color, when multiple levels are displayed
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "BackColorLevelHeader", 250); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "S") , "Width", 32); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Level 1") , "LevelKey", 1); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Level 2") , "LevelKey", 1); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Level 3") , "LevelKey", 1); |
144 |
Can I programmatically scroll the control
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 3); _ObjectCallMethod( g2antt , "PutItems", _ObjectCallMethod( g2antt , "GetItems", 0)); _ObjectCallMethod( g2antt , "PutItems", _ObjectCallMethod( g2antt , "GetItems", 0)); _ObjectCallMethod(g2antt, "ExecuteTemplate", "ScrollPos(True) = 1"); |
143 |
How do I disable expanding or collapsing an item when user presses the arrow keys
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ExpandOnKeys", 0); _ObjectSetProperty( g2antt , "LinesAtRoot", -1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); items = _ObjectGetProperty( g2antt , "Items"); h = _ObjectCallMethod( items , "AddItem", "Root"); _ObjectCallMethod( items , "InsertItem", h,"","Child 1"); _ObjectCallMethod( items , "InsertItem", h,"","Child 2"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj,h") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "TemplatePut", h) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.ExpandItem(h) = True"); |
142 |
How do I expand automatically the items while user types characters to searching for something ( incremental searching )
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ExpandOnSearch", -1); _ObjectSetProperty( g2antt , "LinesAtRoot", -1); _ObjectSetProperty( g2antt , "AutoSearch", -1); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column") , "AutoSearch", 1); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod( items , "InsertItem", _ObjectCallMethod( items , "InsertItem", _ObjectCallMethod( items , "AddItem", "text"),"","some text"),"","another text"); _ObjectCallMethod( items , "InsertItem", _ObjectCallMethod( items , "InsertItem", _ObjectCallMethod( items , "AddItem", "text"),"","some text"),"","another text"); |
141 |
Can I programmatically scroll the control
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 3); _ObjectCallMethod( g2antt , "PutItems", _ObjectCallMethod( g2antt , "GetItems", 0)); _ObjectCallMethod( g2antt , "PutItems", _ObjectCallMethod( g2antt , "GetItems", 0)); _ObjectCallMethod( g2antt , "Scroll", 1); |
140 |
Do you have some function to load data from a safe array
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); _ObjectCallMethod( g2antt , "PutItems", _ObjectCallMethod( g2antt , "GetItems", 0)); |
139 |
Do you have some function to retrieve all items to a safe array
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); _ObjectCallMethod( g2antt , "PutItems", _ObjectCallMethod( g2antt , "GetItems", 0)); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( g2antt , "PutItems", _ObjectCallMethod( g2antt , "GetItems", 0)); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); _ObjectCallMethod( g2antt , "PutItems", _ObjectCallMethod( g2antt , "GetItems", 0)); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 3); |
138 |
How can still display the selected items when the control loses the focus
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "HideSelection", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod( items , "AddItem", "Item 3"); _ObjectCallMethod( items , "AddItem", "Item 1"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.SelectItem(AddItem(`Item 2`)) = True"); |
137 |
How can I hide a column
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Hidden") , "Visible", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "2"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "3"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "4"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "5"); |
136 |
How can I ensure that a column is visible and fits the control's client area
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ColumnAutoResize", 0); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "1") , "Width", 128); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "2") , "Width", 128); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "3") , "Width", 128); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "4") , "Width", 128); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "5") , "Width", 128); _ObjectCallMethod( g2antt , "EnsureVisibleColumn", "5"); |
135 |
I've seen that the width of the tooltip is variable. Can I make it larger
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ToolTipWidth", 328); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "tootip") , "ToolTip", "this is a tooltip that should be very very very very very very very long"); |
134 |
How do I disable showing the tooltip for all control
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ToolTipDelay", 0); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "tootip") , "ToolTip", "this is a tooltip assigned to a column"); |
133 |
How do I let the tooltip being displayed longer
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ToolTipPopDelay", 10000); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "tootip") , "ToolTip", "this is a tooltip assigned to a column"); |
132 |
How do I show the tooltip quicker
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ToolTipDelay", 1); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "tootip") , "ToolTip", "this is a tooltip assigned to a column"); |
131 |
How do I change the caption being displayed in the control's filter bar
|
130 |
How do I disable expanding or collapsing an item when user double clicks it
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ExpandOnDblClick", 0); _ObjectSetProperty( g2antt , "LinesAtRoot", -1); _ObjectSetProperty( g2antt , "Indent", 13); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); items = _ObjectGetProperty( g2antt , "Items"); h = _ObjectCallMethod( items , "AddItem", "Root"); _ObjectCallMethod( items , "InsertItem", h,"","Child 1"); _ObjectCallMethod( items , "InsertItem", h,"","Child 2"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj,h") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "TemplatePut", h) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.ExpandItem(h) = True"); |
129 |
How do I search case sensitive, using your incremental search feature
OBJECT columns,g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "AutoSearch", -1); _ObjectSetProperty( g2antt , "ASCIILower", ""); columns = _ObjectGetProperty( g2antt , "Columns"); _ObjectSetProperty( _ObjectCallMethod( columns , "Add", "exStartWith") , "AutoSearch", 0); _ObjectSetProperty( _ObjectCallMethod( columns , "Add", "exContains") , "AutoSearch", 1); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(`text`),1) = `another text`"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(`text`),1) = `another text`"); |
128 |
How do I disable the control
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "Enabled", 0); |
127 |
How do I enable the incremental search feature within a column
OBJECT columns,g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "AutoSearch", -1); columns = _ObjectGetProperty( g2antt , "Columns"); _ObjectSetProperty( _ObjectCallMethod( columns , "Add", "exStartWith") , "AutoSearch", 0); _ObjectSetProperty( _ObjectCallMethod( columns , "Add", "exContains") , "AutoSearch", 1); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(`text`),1) = `another text`"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(`text`),1) = `another text`"); |
126 |
How do I call your x-script language
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( g2antt , "ExecuteTemplate", "Columns.Add(`Column`)"); _ObjectSetProperty( column , "HeaderStrikeOut", -1); _ObjectSetProperty( column , "HeaderBold", -1); |
125 |
How do I call your x-script language
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "Template", "Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`"); |
124 |
How do I show alternate rows in different background color
|
123 |
How do I enlarge the drop down filter window
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "FilterBarDropDownHeight", -320); column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterBarDropDownWidth", -320); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Item 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Item 2"); |
122 |
How do I filter programmatically the control
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 3); _ObjectSetProperty( column , "Filter", "Item*"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Item 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", ""); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Item 2"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
121 |
How do I change the font of the control's filterbar
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectGetProperty( g2antt , "FilterBarFont") , "Size", 20); column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 1); _ObjectCallMethod( g2antt , "ApplyFilter"); |
120 |
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance
|
119 |
How do I change the background color of the control's filterbar
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "FilterBarBackColor", 15790320); column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 1); _ObjectCallMethod( g2antt , "ApplyFilter"); |
118 |
How do I change the foreground color of the control's filterbar
|
117 |
How do I change the height of the control's filterbar
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "FilterBarHeight", 32); column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 1); _ObjectCallMethod( g2antt , "ApplyFilter"); |
116 |
How do I change the header's foreground color
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ForeColorHeader", 255); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 2"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Item 1"); |
115 |
I have a picture on the control's background, the question is how do I draw selection as semi-transparent
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "Picture", _ObjectCallMethod( g2antt , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)")); _ObjectSetProperty( g2antt , "SelBackMode", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Item 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Item 2"); |
114 |
It seems that the control uses the TAB key, is there any way to avoid that
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "UseTabKey", 0); |
113 |
I have FullRowSelect property on False, how do I force the user to select cells only in a specified column
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "SelectColumnIndex", 1); _ObjectSetProperty( g2antt , "FullRowSelect", 0); _ObjectSetProperty( g2antt , "SelectColumn", -1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 2"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(`Item 1`),1) = `SubItem 1`"); |
112 |
How do I assign a database to your control, using ADO, ADOR or ADODB objects
|
111 |
How do I change the visual appearance effect for the selected item, using EBN
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( _ObjectGetProperty( g2antt , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn"); _ObjectSetProperty( g2antt , "SelBackColor", 16777216); _ObjectSetProperty( g2antt , "SelForeColor", 0); _ObjectSetProperty( g2antt , "ShowFocusRect", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); |
110 |
How do I change the colors for the selected item
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "SelBackColor", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); |
109 |
How can I hide the frame/rectangle arround the focused item
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( g2antt , "BeginUpdate"); _ObjectSetProperty( g2antt , "SelBackColor", _ObjectGetProperty( g2antt , "BackColor")); _ObjectSetProperty( g2antt , "SelForeColor", _ObjectGetProperty( g2antt , "ForeColor")); _ObjectSetProperty( g2antt , "ShowFocusRect", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", ""); _ObjectCallMethod( g2antt , "EndUpdate"); |
108 |
How can I change the control's font
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectGetProperty( g2antt , "Font") , "Name", "Tahoma"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); |
107 |
I can't scroll to the end of the data. What can I do
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ScrollBySingleLine", -1); _ObjectSetProperty( g2antt , "DrawGridLines", -2); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.ItemHeight(AddItem(0)) = 13"); _ObjectCallMethod( g2antt , "PutItems", _ObjectCallMethod( g2antt , "GetItems", 0)); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.ItemHeight(AddItem(1)) = 26"); _ObjectCallMethod( g2antt , "PutItems", _ObjectCallMethod( g2antt , "GetItems", 0)); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.ItemHeight(AddItem(2)) = 36"); _ObjectCallMethod( g2antt , "PutItems", _ObjectCallMethod( g2antt , "GetItems", 0)); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.ItemHeight(AddItem(3)) = 48"); _ObjectCallMethod( g2antt , "PutItems", _ObjectCallMethod( g2antt , "GetItems", 0)); |
106 |
How do I specify the column where the tree lines / hierarchy are shown
|
105 |
How do I specify the indentation of the child items relative to their parents
|
104 |
Is there any option to select an item using the right button of the mouse (rclick)
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "RClickSelect", -1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Item 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Item 2"); |
103 |
I have FullRowSelect property on False, how do I select a column
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "SelectColumnIndex", 1); _ObjectSetProperty( g2antt , "FullRowSelect", 0); |
102 |
How can I scroll columns one by one, not pixel by pixel
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ContinueColumnScroll", 0); _ObjectSetProperty( g2antt , "ColumnAutoResize", 0); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "1") , "Width", 128); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "2") , "Width", 128); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "3") , "Width", 128); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "4") , "Width", 128); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "5") , "Width", 128); |
101 |
How can I enable multiple items selection
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "SingleSel", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); |